package com.cnsoft.player.h5.home;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

import com.cnsoft.MyWxPLayerPageControllerSupport;

/**
 * 我的
 * 
 * @author Zmsoft
 * @version 0.1.0 2018/4/2
 * @since 0.1.0 2018/4/2
 */
@Controller
@RequestMapping(value = "/player/1.0/h5/me")
public class WXPlayerMeController extends MyWxPLayerPageControllerSupport {
	
	/**
	 * 打开页面
	 * 
	 * @param [menuId]
	 * @return ModelAndView
	 * @throws Exception
	 * @author Zmsoft
	 * @version 0.1.0 2018/4/2
	 * @since 0.1.0 2018/4/2
	 */
	@RequestMapping(value = "/index.js", method = RequestMethod.POST)
	public ModelAndView doIndex() throws Exception {
		ModelAndView modelAndView = getModelAndView("/weixinplayer/player-me");

		return modelAndView;
	}

	//实名认证
	@RequestMapping(value = "/real.js", method = RequestMethod.POST)
	public ModelAndView doReal() throws Exception {
		ModelAndView modelAndView = getModelAndView("/weixinplayerme/player-me-real");

		return modelAndView;
	}
	
	//身份切换
	@RequestMapping(value = "/identity.js", method = RequestMethod.POST)
	public ModelAndView doIdentity() throws Exception {
		ModelAndView modelAndView = getModelAndView("/weixinplayerme/player-me-identity");

		return modelAndView;
	}
}
